﻿namespace DongFangGuoKai.TaskPlatform.Job.InventoryIssuance.Model
{
    public class InventoryIssuanceModel
    {
        /// <summary>
        /// 盘点计划单id
        /// </summary>
        public int PlanId { get; set; }
        /// <summary>
        /// 盘点计划单号
        /// </summary>
        public string? PlanNumber { get; set; }
        
        /// <summary>
        /// 领用单明细
        /// </summary>
        public List<InventoryIssuanceDetailModel>? Items { get; set; }
    }

    public class InventoryIssuanceDetailModel
    {
        /// <summary>
        /// 存放库位
        /// </summary>
        public string? StoreLocationCode { get; set; }
        /// <summary>
        /// 存放库位Id
        /// </summary>
        public string? StoreLocationId { get; set; }
        /// <summary>
        /// 存放库位描述
        /// </summary>
        public string? StoreLocationRemark { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public int? StoreId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? StoreName { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        ///   归属部门名称
        /// </summary>
        public string? DeptName { get; set; }
        /// <summary>
        /// 物资编码
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        /// 物资名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 型号规格
        /// </summary>
        public string? MaterialNorms { get; set; }
        /// <summary>
        /// 关联的盘点计划单id
        /// </summary>
        public int? PlanId { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int? StockCount { get; set; }
        /// <summary>
        /// 库存明细id
        /// </summary>
        public int? StockId { get; set; }
    }
}
